﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace COM
{
    public class CONST
    {



        public class PREFIX
        {
            public const int PREFIX_LENGTH = 4;
            public const String USER = "USER";
            public const String USERDETAIL = "USED";
            public const String ADDRESS = "ADDR";
            public const String ADDRESSTYPE = "ADDT";
            public const String CONTACT = "CONT";
            public const String CONTACTTYPE = "COTT";
            public const String DETAIL = "DETA";
            public const String DETAILTYPE = "DETT";
            public const String DISCOUNT = "DISC";
            public const String DISCOUNTTYPE = "DIST";
            public const String HOTEL = "HOTE";
            public const String ORDER = "ORDE";
            public const String PRICE = "PRIC";
            public const String ROOM = "ROOM";
            
        }
        public class ROLE
        {
            public const int SADMIN = 0;
            public const int ADMIN = 10;
            public const int HOTELOWNER = 20;
            public const int NORMALUSER = 30;
            public const int GUEST = 40;
        }
        public class USER
        {
            public const string ACTIVE = "STT_USER_ACTIVE";
            public const string BANNED = "STT_USER_BANNED";
            public const string DELETE = "STT_USER_DELETE";
            public const string INACTIVE = "STT_USER_INACTIVE";
            public const string PENDING = "STT_USER_PENDING";
        }
        public class GENDER
        {
            public const string MALE = "M";
            public const string FEMALE = "F";
            public const string UNKNOWN_GENDER = "U";
        }
        public class ADDRESS
        {
            public const string VALID = "STT_ADDR_VALID";
            public const string INVALID = "STT_ADDR_INVALID";
        }
        public class CONTACT
        {
            public const string VALID = "STT_CONT_VALID";
            public const string INVALID = "STT_CONT_INVALID";
        }

        public class DETAIL
        {
            public const string APPROVED = "STT_DETA_APPROVE";
            public const string CHECKING = "STT_DETA_CHECKING";
            public const string DELETE = "STT_DETA_DELETE";
            public const string DISAPPROVED = "STT_DETA_DISAPPROVE";
            public const string UNAPPROVED = "STT_DETA_UNAPPROVE";
        }
        public class DISCOUNT
        {
            public const string DELETE = "STT_DISC_DELETE";
            public const string PAUSE = "STT_DISC_PAUSE";
        }
        public class DISCOUNTTYPE
        {
            public const string DELETE = "STT_DIST_DELETE";
        }
        public class HOTEL
        {
            public const string ACTIVE = "STT_HOTE_ACTIVE";
            public const string DELETE = "STT_HOTE_DELETE";
        }
        public class ORDER
        {
            public const string ACCEPTED = "STT_ORDE_ACCEPTED";
            public const string CLOSED = "STT_ORDE_CLOSED";
            public const string PAID = "STT_ORDE_PAID";
            public const string PENDING = "STT_ORDE_PENDING";
        }
        public class PRICE
        {
            // UNKNOWN Prefix : PRIC
        }
        public class ROOM
        {
            public const string AVAILABLE = "STT_ROOM_AVAILABLE";
            public const string BOOKED = "STT_ROOM_BOOKED";
            public const string BOOKING = "STT_ROOM_BOOKING";
            public const string INACTIVE = "STT_ROOM_INACTIVE";
        }
        public class USERDETAIL
        {
            public const string ACTIVE = "STT_USED_ACTIVE";
            public const string DELETE = "STT_USED_DELETE";
        }
        public class SESSION
        {
            public const string USER = "SESSION_USER";
            
        }
        public class PAGE
        {
            public const string ADMIN_INDEX = "/admin/index.aspx";
            public const string ADMIN_LOGIN = "/admin/login.aspx";
        }

    }
}
